home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / board / Prod.lha / Prod.c < prev    next >
C/C++ Source or Header  |  1995-04-20  |  608b  |  32 lines

  1.  
  2. /*     Prod 1.0 -- by Thomas Wenzel -- public domain      */
  3. /* It's really nothing special at all, why should it? :-) */
  4.  
  5. #include <graphics/displayinfo.h>
  6. #include <intuition/screens.h>
  7. #include <utility/tagitem.h>
  8. #include <proto/intuition.h>
  9.  
  10. int main(void) {
  11.  
  12.     char version[]="$VER: Prod 1.0 (20.04.95)";
  13.  
  14.     struct    TagItem ScreenTags[] = {
  15.         SA_Left,            0,
  16.         SA_Top,                0,
  17.         SA_Width,            640,
  18.         SA_Height,        400,
  19.         SA_Behind,        FALSE,
  20.         SA_DisplayID,    VGAPRODUCT_KEY,
  21.         TAG_DONE
  22.     };
  23.  
  24.     struct    Screen    *MyScreen;
  25.  
  26.     MyScreen=OpenScreenTagList(0,ScreenTags);
  27.  
  28.     if (MyScreen) CloseScreen(MyScreen);
  29.  
  30.     return(0);
  31. }
  32.